package cn.bandeqing.worker.entity;

import com.mybatisflex.annotation.EnumValue;
import io.github.linpeilie.annotations.AutoEnumMapper;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
@AutoEnumMapper("value")
public enum WorkerStatus {

    register(0, "注册"),
    pass(1, "启用"),
    frozen(2, "冻结"),
    ;

    @EnumValue
    private final Integer value;

    private final String label;


}